home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
001-025
/
scopedisk19
/
blinker
/
getlinkerinfo.sub
< prev
next >
Wrap
Text File
|
1995-03-18
|
960b
|
43 lines
'---------------------------------------------------------------------------
'
' Get Linker Info
'
'
' Copyright 1987 by Brian Zupke
'
'
' Sets the program name to be linked, library and
' executable program pathnames, and compress command.
'
'
SUB GetLinkerInfo.SUB(ProgramName$,LibPath$,PrgPath$,Compress) STATIC
'
' Make sure program name is valid
'
ProgramName$ = ""
WHILE ProgramName$ = ""
INPUT "Program name";ProgramName$
WEND
'
' Add '/' to pathnames as required
'
INPUT "Library pathname";LibPath$
IF LEN(LibPath$) > 4 AND RIGHT$(LibPath$,1) <> "/" THEN
LibPath$ = LibPath$ + "/"
END IF
'
INPUT "Program pathname";PrgPath$
IF LEN(PrgPath$) > 4 AND RIGHT$(PrgPath$,1) <> "/" THEN
PrgPath$ = PrgPath$ + "/"
END IF
'
' Set Compression flag
'
INPUT "Compress (Y or N)";Answer$
IF UCASE$(Answer$) = "Y" THEN
Compress = TRUE
ELSE
Compress = FALSE
END IF
END SUB